package com.moxiao.yfjh.module.blind.controller.admin.memberMessage.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.moxiao.yfjh.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.moxiao.yfjh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 相亲聊天记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MemberMessagePageReqVO extends PageParam {

    @Schema(description = "用户Id", example = "2518")
    @TableField(exist = false)
    private Long memberId;

    @Schema(description = "用户Id", example = "2518")
    @TableField(exist = false)
    private Long userId;

    @Schema(description = "记录ID", example = "2518")
    private String recordId;

    @Schema(description = "消息发送方：0表示自动回复", example = "24611")
    private Integer sendMemId;

    @Schema(description = "消息接收方", example = "11362")
    private Integer reciveMemId;

    @Schema(description = "消息类型：text（文本消息）video（视频消息）image（图片消息）file（文件消息）", example = "2")
    private String messageType;

    @Schema(description = "消息内容")
    private String messageContent;

    @Schema(description = "状态（备用）", example = "2")
    private Integer messageStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
